package contacts614.po;

import java.io.Serializable;

public class Room implements Serializable {
	private String roomNo;
	private String roomName;

	/**
	 * Room的无参构造方法
	 */
	public Room() {
		super();
	}

	/**
	 * Room的有参构造方法
	 * 
	 * @param roomNo宿舍号
	 * @param roomName宿舍名
	 */
	public Room(String roomNo, String roomName) {
		super();
		this.roomNo = roomNo;
		this.roomName = roomName;
	}

	public String getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(String roomNo) {
		this.roomNo = roomNo;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	@Override
	public String toString() {
		return roomNo;
	}
}
